package com.footprint.hibernate.pojo;

import java.sql.Timestamp;

/**
 * Ticket entity. @author MyEclipse Persistence Tools
 */

public class Ticket implements java.io.Serializable {

	// Fields

	private String id;
	private Airport airport;
	private Float price;
	private String aircraft;
	private String aircraftType;
	private String launchTime;
	private String arriveTime;
	private Integer year;
	private Integer month;
	private Integer day;
	private Integer ticketCout;
	private Timestamp updateTime;

	// Constructors

	/** default constructor */
	public Ticket() {
	}

	/** minimal constructor */
	public Ticket(String id, Timestamp updateTime) {
		this.id = id;
		this.updateTime = updateTime;
	}

	/** full constructor */
	public Ticket(String id, Airport airport, Float price, String aircraft, String aircraftType, String launchTime,
			String arriveTime, Integer year, Integer month, Integer day, Integer ticketCout, Timestamp updateTime) {
		this.id = id;
		this.airport = airport;
		this.price = price;
		this.aircraft = aircraft;
		this.aircraftType = aircraftType;
		this.launchTime = launchTime;
		this.arriveTime = arriveTime;
		this.year = year;
		this.month = month;
		this.day = day;
		this.ticketCout = ticketCout;
		this.updateTime = updateTime;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Airport getAirport() {
		return this.airport;
	}

	public void setAirport(Airport airport) {
		this.airport = airport;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public String getAircraft() {
		return this.aircraft;
	}

	public void setAircraft(String aircraft) {
		this.aircraft = aircraft;
	}

	public String getAircraftType() {
		return this.aircraftType;
	}

	public void setAircraftType(String aircraftType) {
		this.aircraftType = aircraftType;
	}

	public String getLaunchTime() {
		return this.launchTime;
	}

	public void setLaunchTime(String launchTime) {
		this.launchTime = launchTime;
	}

	public String getArriveTime() {
		return this.arriveTime;
	}

	public void setArriveTime(String arriveTime) {
		this.arriveTime = arriveTime;
	}

	public Integer getYear() {
		return this.year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getMonth() {
		return this.month;
	}

	public void setMonth(Integer month) {
		this.month = month;
	}

	public Integer getDay() {
		return this.day;
	}

	public void setDay(Integer day) {
		this.day = day;
	}

	public Integer getTicketCout() {
		return this.ticketCout;
	}

	public void setTicketCout(Integer ticketCout) {
		this.ticketCout = ticketCout;
	}

	public Timestamp getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

}